
#ifndef INTERRUPTER_H
#define INTERRUPTER_H
#include "peripheral/impTypes.h"
#include "peripheral/bhm.h"
#include "peripheral/ppm.h"

//////////////////////////////////// Externs ///////////////////////////////////
extern Uns32 diagnosticLevel;

////////////////////////// Register data declaration //////////////////////////

typedef struct BYTEREADCSP_ab32_dataS { 
    union { 
        Uns32 value;
    } byteData;
} BYTEREADCSP_ab32_dataT, *BYTEREADCSP_ab32_dataTP;

/////////////////////////////// Port Declarations //////////////////////////////

extern BYTEREADCSP_ab32_dataT BYTEREADCSP_ab32_data;


///////////////////////////////// Port handles /////////////////////////////////

typedef struct handlesS {
	void                 *BYTEREADCSP;
	ppmNetHandle          intp;
} handlesT, *handlesTP;

extern handlesT handles;

PPM_REG_READ_CB(regRd32);
PPM_CONSTRUCTOR_CB(periphConstructor);
PPM_CONSTRUCTOR_CB(constructor);
PPM_DESTRUCTOR_CB(destructor);


#endif
